require './writer_decorator'
Dir['*.rb'].each do | rb |
  require "./#{rb}" unless rb == "run.rb"
end

#file = NumberingWriter.new(SimpleWriter.new("simple.txt"))
#file.write_line("Hello out there")
#file.write_line("simple txt")
#
#
#file = TimeStampingWriter.new(SimpleWriter.new("simple.txt"))
#file.write_line("Hello out there")
#file.write_line("simple txt")

file = TimeStampingWriter.new(NumberingWriter.new(SimpleWriter.new("simple.txt")))
file.write_line("Hello out there")
file.write_line("simple txt")